<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui" template="/paginas/templateLogin.xhtml">

	<ui:define name="corpoForm">
		<h2>Olá, Vamos criar sua nova senha?</h2>
		<h:form id="formAlterarSenha" prependId="false">

			<f:metadata>
				<f:viewParam name="crs" value="#{reiniciarSenhaBean.chave}" />
			</f:metadata>

			<ul>
				<li><p:password label="#{rsc.label_novaSenha}" id="password"
						maxlength="50" size="20" title="#{rsc.label_novaSenha}"
						value="#{reiniciarSenhaBean.novaSenha}" feedback="true"
						promptLabel="#{rsc.label_promptSenha}" autocomplete="off"
						weakLabel="#{rsc.label_passwordFraco}" match="passwordConfirmar"
						validatorMessage="#{msg.senhasIncorretas}"
						placeholder="#{rsc.wm_senhaNova}"
						goodLabel="#{rsc.label_passwordMedio}"
						strongLabel="#{rsc.label_passwordSeguro}" /></li>

				<li><p:password label="#{rsc.label_confirmarSenha}"
						placeholder="#{rsc.wm_senhaConfirmar}" id="passwordConfirmar"
						maxlength="50" size="20" title="#{rsc.label_confirmarSenha}"
						value="#{reiniciarSenhaBean.novaSenha}" /></li>
			</ul>
			<div class="btn">
				<p:commandButton
					actionListener="#{reiniciarSenhaBean.atribuirNovaSenha}"
					styleClass="loginButton" value="#{rsc.label_alterarSenha}" />
			</div>


		</h:form>
	</ui:define>
</ui:composition>